package com.bigdata.spark.core.framework.application

import com.bigdata.spark.core.framework.common.TApplication
import com.bigdata.spark.core.framework.controller.WordCountController
import org.apache.spark.{SparkConf, SparkContext}

/**
 * 对wordcount 程序进行分层设计示例
 */
object WordCountApplication extends App with TApplication{
    //启动应用程序
    start(){
        val controller = new WordCountController()
        controller.dispatch()
    }
}
